package com.ngkj.zmfptback.sys.mapper.write;

import com.ngkj.zmfptback.sys.bean.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author ChenHN
 * @since 2021/12/8 creation
 **/
@Mapper
public interface UserWriteMapper {

    void registerUser( UserEntity user);

    void updateUserLastLoginTime(UserEntity user);

    void editHeadImage(@Param("userId") String userId,@Param("imagePath") String imagePath);

    void updateRealId(@Param("userId") Integer userId,@Param("id") Integer id);

    void editNickname(@Param("id") Long id,@Param("nickname") String nickname);

}
